package com.example.light.web.personal.service;

import com.example.light.web.personal.entity.Message;
import org.springframework.ui.Model;

public interface MessageService {
    void selectMessages(String userEmail, Integer page, Model model, Integer status, String search);

    void showTips(Model model, String userEmail);

    Boolean checkEmail(String email, String userEmail);

    boolean sendMessage(Message message, String userEmail);

    int update(Message msgId);

    Message showOneMessage(Integer msgId, String userEmail, Model model);

    int del(Message message);

}
